package com.mars.admin.common.request;

import com.mars.admin.common.dto.ImageInfoDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 发布圈子帖子请求DTO
 *
 * @author Mars
 * @version 1.0
 * @date 2025-01-07
 */
@Data
@Schema(description = "发布圈子帖子请求参数")
public class PublishPostRequest {
    
    @Schema(description = "帖子ID，用于更新时")
    private Long id;
    
    @Schema(description = "帖子标题", required = true)
    private String title;
    
    @Schema(description = "帖子内容", required = true)
    private String content;
    
    @Schema(description = "关联话题ID列表", required = true)
    private List<Long> topicIds;
    
    @Schema(description = "图片信息列表", required = true)
    private List<ImageInfoDto> imgs;

    @Schema(description = "标签列表")
    private List<String> tags;
} 